package com.dxy.lc.service;

import com.dxy.lc.model.bean.RoomEditDto;
import com.dxy.lc.model.entity.Room;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

import com.dxy.lc.model.entity.RoomUser;
import com.dxy.lc.model.entity.User;

/**
* <p>
*  服务接口
* </p>
*
* @author dxy
* @since 2024-11-07
*/
public interface RoomService extends IService<Room> {

    void updById(RoomEditDto param);

    List<Room> getList(String kw);

    Room createRoom(List<Integer> toUserIds);

    void addMember(RoomEditDto param);

    void setMuted(RoomUser param);

    void quitRoom(RoomEditDto param);

    List<User> getUsers(Integer roomId);

    Room getDetail(Integer id);
}
